<% remote_form_for @historico_externo,:complete =>"$.colorbox.close()", :condition => '$(this).valid()', :html => {:class => "tabular"},  :builder => UniformBuilder do |f| %>
  <%= f.error_messages %>
  <div class="box">
    <%= f.hidden_field :usuario_id %>
    <%= f.text_field :empresa,:class => :required%>
    <%= f.text_field :telefono, :label => "Tel&eacute;fono",:size => 10,:class => :required %>
    <%= f.text_field :direccion %>
    <%= f.text_field :cargo,:class => :required %>
    <%= f.text_field :desde,:class=>'dp required',:size => 10%>
    <%= f.text_field :hasta,:class=>'dp required',:size => 10 %>
    <%= f.text_field :jefe,:class => :required %>
    <%= f.text_field :salario,:class => "money number required",:size => 12 %>
  </div>
  <%= f.submit "Guardar" %>
<% end %>
<%=format_date_fields %>
<%=format_money_fields(:mDec=>0,:aSep=>'.',:aDec=>',')%>
<%= validate_forms %>